package net.office.mapper;

import java.util.List;
import net.office.bean.AuthorityGroup;
import net.office.bean.AuthorityGroupExample;
import org.apache.ibatis.annotations.Param;

public interface AuthorityGroupMapper {
    long countByExample(AuthorityGroupExample example);

    int deleteByExample(AuthorityGroupExample example);

    int deleteByPrimaryKey(Integer authGroupId);

    int insert(AuthorityGroup record);

    int insertSelective(AuthorityGroup record);

    List<AuthorityGroup> selectByExample(AuthorityGroupExample example);

    AuthorityGroup selectByPrimaryKey(Integer authGroupId);

    int updateByExampleSelective(@Param("record") AuthorityGroup record, @Param("example") AuthorityGroupExample example);

    int updateByExample(@Param("record") AuthorityGroup record, @Param("example") AuthorityGroupExample example);

    int updateByPrimaryKeySelective(AuthorityGroup record);

    int updateByPrimaryKey(AuthorityGroup record);
}